Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge changes for version 1.8 #220

Merged
merged 61 commits into from
Mar 16, 2024
Merged

Merge changes for version 1.8 #220

merged 61 commits into from
Mar 16, 2024

Conversation

TheAxelander
Copy link
Owner

@TheAxelander TheAxelander commented Jan 31, 2024

Check list:

  • Correct Version number on Navigation
  • No open issues in respective milestone
  • 3rd party licenses up-to-date
  • Documentation up-to-date Docs #2
  • Changelog up-to-date
  • Changelog containing release date
  • Update SECURITY.md
  • Updated unRaid Template
  • News released

TheAxelander and others added 30 commits October 7, 2023 10:21
# Conflicts:
#	CHANGELOG.md
#	OpenBudgeteer.Blazor/Shared/NavMenu.razor
Allows to create mapping rules based on the account name of the
transaction
Fix Mapping Rules with Account Name
Adding a new mapping rule to an existing rule set failed due to the
missing `BucketRuleSetId` in the new mapping rule.
```
info: 11/2/2023 21:57:07.541 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
      Executed DbCommand (0ms) [Parameters=[@p0='5218bcea-c96c-4278-8ab1-153b3bc26ec0', @p1='37f1851c-2100-4350-8785-2f3e736a2fc3', @p2='1', @p3='1', @P4='foo' (Nullable = false) (Size = 3)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "MappingRule" ("MappingRuleId", "BucketRuleSetId", "ComparisionField", "ComparisionType", "ComparisionValue")
      VALUES (@p0, @p1, @p2, @p3, @P4);
fail: 11/2/2023 21:57:07.542 RelationalEventId.CommandError[20102] (Microsoft.EntityFrameworkCore.Database.Command)
      Failed executing DbCommand (0ms) [Parameters=[@p0='a54fa405-376d-4c79-acd4-4851e1d68100', @p1='00000000-0000-0000-0000-000000000000', @p2='2', @p3='1', @P4='asd' (Nullable = false) (Size = 3)], CommandType='Text', CommandTimeout='30']
      INSERT INTO "MappingRule" ("MappingRuleId", "BucketRuleSetId", "ComparisionField", "ComparisionType", "ComparisionValue")
      VALUES (@p0, @p1, @p2, @p3, @P4);
fail: 11/2/2023 21:57:07.542 CoreEventId.SaveChangesFailed[10000] (Microsoft.EntityFrameworkCore.Update)
      An exception occurred in the database while saving changes for context type 'OpenBudgeteer.Data.DatabaseContext'.
      Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
       ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'FOREIGN KEY constraint failed'.
```
Fix adding a mapping rule to an existing RuleSet
@TheAxelander TheAxelander added this to the 1.8 milestone Jan 31, 2024
@TheAxelander TheAxelander changed the title WIP Merge changes for version 1.8 WIP: Merge changes for version 1.8 Jan 31, 2024
@TheAxelander TheAxelander marked this pull request as draft January 31, 2024 11:47
@TheAxelander TheAxelander marked this pull request as ready for review March 16, 2024 08:32
@TheAxelander TheAxelander changed the title WIP: Merge changes for version 1.8 Merge changes for version 1.8 Mar 16, 2024
@TheAxelander TheAxelander merged commit 45b76bd into master Mar 16, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants